package other;

public class sjx {
    public static void main(String[] args) {
        int[][]nums = new int[10][10];
        for (int i = 1; i <= nums.length; i++) {
            for (int j = 1; j <= nums.length-i; j++) {

                System.out.print(" ");
            }
            for (int j = 1; j <= 2*i-1; j++) {
                System.out.println(nums[i-1][j-1]);
            }
        }
    }
}
